<template>
  <div class="text-center">
<!-- 将登录、注册放在一起  跳转功能没实现-已实现  -->
    <v-tooltip bottom>
      <template v-slot:activator="{ on, attrs }">
        <v-btn
            color="primary"
            light
            v-bind="attrs"
            v-on="on"
            class="sm2"
            max-width="20px"
        >
          User
        </v-btn>
      </template>
      <span>仅登录或注册</span>
    </v-tooltip>

    </div>

</template>

<script>
export default {
  name: "LoginReg"
}
</script>

<style scoped>
.text-center{
  width: 20%;
  line-height: 80%;
}
</style>